<%@ page language="java" import="it.polimi.swim.entity.SystemUser"
contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/css" href="myStyle.css">
<title>Administrator Panel</title>
</head>
<body>
<div id='header' >
	<div style="float:left"><a href="homeUser.jsp">SWIMv2</a></div>
	<div style="float:right;"><a href="SignoutServlet">Sign out</a></div>
</div>
<div id="content"><br>
<%
//Esiste una sessione aperta
if(session.getAttribute("mail")!=null){
	%>
	<h3>Administrator Panel</h3>
	<ul id='menuHome'>
		<li><a href="createSkill.jsp">Create new skill</a></li>
		<li><a href="CreateSkillServlet">Valutate skill request</a></li>
	</ul>
<%
}
else{
	out.println("<a href='index.jsp'>Log in</a>");
}
%>
</div>
</body>
</html>